package com.yami.shop.service.utils;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.math.BigDecimal;

@Data
public class PayRequest {

    @NotNull
    @ApiModelProperty(value = "支付流水号，租户系统唯一")
    private String paySerialNo;

    @NotNull
    @ApiModelProperty(value = "订单金额，单位：元")
    private BigDecimal orderAmount;

    @ApiModelProperty(value = "订单描述")
    private String orderDesc;

    @ApiModelProperty(value = "请求回调Url")
    private String notifyUrl;

    @ApiModelProperty(value = "支付成功跳转URL：returnUrl")
    private String returnUrl;

    @ApiModelProperty(value = "微信小程序openid")
    private String openid;
}
